print online pCPUs and free pCPUs when dumping
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 18 Mar 2015 13:20:37 +0000 (14:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Mar 2015 13:20:37 +0000 (14:20 +0100)
commitec61696dc648bf71aaa7e0673862fb3a30b4a8ad
tree61729c61e73d77787760f73c99578294f7b0417f
parenta90babbd23dc3a75f8b5c59541f963ed6a07d2c2
print online pCPUs and free pCPUs when dumping

e.g., with  `xl debug-key r', like this:

  (XEN) Online Cpus: 0-15
  (XEN) Free Cpus: 8-15

Also, for each cpupool, print the set of pCPUs it
contains, like this:

  (XEN) Cpupool 0:
  (XEN) Cpus: 0-7
  (XEN) Scheduler: SMP Credit Scheduler (credit)

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Juergen Gross <jgross@suse.com>
cpumask_weight() -> !cpumask_empty()

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/common/cpupool.c